#define _CRT_SECURE_NO_WARNINGS
#include "Stack.h"


int main(void)
{
	Stack st;
	StackInit(&st);
	StackPush(&st, 10);
	StackPush(&st, 20);
	StackPush(&st, 30);
	StackPush(&st, 40);
	StackPop(&st);
	StackPush(&st, 50);
	StackPush(&st, 60);
	StackPush(&st, 70);
	while (!StackEmpty(&st))
	{
		printf("%d ", StackTop(&st));
		StackPop(&st);
	}

}



